@use '../../../../scss/gio-layout' as gio-layout;
@use '@angular/material' as mat;
@use '@gravitee/ui-particles-angular' as gio;
@use 'sass:map';

$typography: map.get(gio.$mat-theme, typography);

.transfer-ownership {
  margin: 20px;

  &__header {
    margin-bottom: 24px;

    &__title {
      @include mat.typography-level($typography, headline-6);
    }

    &__subtitle {
      color: mat.get-color-from-palette(gio.$mat-space-palette, 'lighter40');
      @include mat.typography-level($typography, body-2);
    }
  }

  &__body {
    &__userOrGroup_radio {
      padding-left: 8px;
    }

    &__userOrGroup {
      &__field {
        width: 100%;
      }
    }

    &__userOrGroup__toggle-group {
      @include gio.gio-button-toggle-group;
    }

    &__new-role {
      display: block;
    }
  }

  &__actions {
    display: flex;
    justify-content: end;
  }
}
